<table id="detallevale" class="tablaForm tablaFormInput">
	<thead>
		<tr>
			<th class="header"><div class="span-2">Codigo</div></th>
			<th class="header"><div class="span-7">Descripcion</div></th>
			<th class="header"><div class="span-2">Und x Cj</div></th>
			<th class="header"><div class="span-3">Unidad</div></th>
			<th class="header"><div class="span-3">Cantidad</div></th>
		</tr>	
	</thead>
	<tbody><?php
	foreach($detallevalesalida as $detallevale):	
	echo
 	'<tr class="ui-widget-content jqgrow ui-row-ltr">'
		.'<td class="text_center">'.$detallevale['Articulo']['codigo'].'</td>'
		.'<td>'.$detallevale['Articulo']['descripcion'].'</td>'
		.'<td class="text_right">'.$detallevale['Articulo']['unidadxcaja'].'</td>'
		.'<td>'.$detallevale['Unidad']['descripcion'].'</td>'
		.'<td class="text_right">'.$detallevale['Detallefactura']['cantidad'].'</td>'
	.'</tr>';
	endforeach;
	?></tbody>
</table>